import request from '@/utils/request'

// 查询ICD手术字典信列表
export function listIcdmanage(query) {
  return request({
    url: '/manage/icdmanage/list',
    method: 'get',
    params: query
  })
}

// 查询ICD手术字典信详细
export function getIcdmanage(icdId) {
  return request({
    url: '/manage/icdmanage/' + icdId,
    method: 'get'
  })
}

// 新增ICD手术字典信
export function addIcdmanage(data) {
  return request({
    url: '/manage/icdmanage',
    method: 'post',
    data: data
  })
}

// 修改ICD手术字典信
export function updateIcdmanage(data) {
  return request({
    url: '/manage/icdmanage',
    method: 'put',
    data: data
  })
}

// 删除ICD手术字典信
export function delIcdmanage(icdId) {
  return request({
    url: '/manage/icdmanage/' + icdId,
    method: 'delete'
  })
}
